package cn.net.dckj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动程序
 *
 * @author dckj
 */
@EnableCaching
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, SecurityAutoConfiguration.class})
@MapperScan("cn.net.dckj.*.mapper")
public class DckjAdminApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(DckjAdminApplication.class, args);
        System.out.println("===  START SUCCESSFULLY  ===\n" +
                " .-------.        -..--     \n" +
                " |       \\     /       )   \n" +
                " |        |    |            \n" +
                " |        |_ _ |            \n" +
                " |       //     \\      /   \n" +
                " .------./        `-..-'    ");
    }
}